<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		*{
			margin: 0px;
			padding: 0px;
		}
		.box{
			width: 240px;
			height: 80px;
			background: red url() 0 0 no-repeat;
			float: right;
			margin-top: 100px;
			margin-right: 50px;
			padding-top:10px;
			position: relative;
		}
		input{
			width: 230px;
			height: 50px;
			border: 1px solid #000;

		}
		a{
			position: absolute;
			top:20px;
			left: 50px;
		}
	</style>
</head>
<body>
	<div class="box">
		<input type="text">
		<a href="">小米5</a>
	</div>
</body>
</html>